aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/article/[slug].tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(sidebar): use a component to avoid styles repetitionArmand Philippot2022-01-111-2/+3
| | | | | | I also fix some overflow/sticky issues. I have to set overflow auto only when there is no button-like links otherwise, with translate, the button is cropped on hover.
* refactor(aside): move width from aside to sharing widgetArmand Philippot2022-01-101-2/+1
| | | | Only the Sharing widget needs the "min-content" width.
* chore: improve comment sectionArmand Philippot2022-01-071-2/+0
| | | | I also adjust styles for all forms and primary buttons.
* chore: move Main grid to its childrenArmand Philippot2022-01-061-5/+9
| | | | This way I can use full width background for some blocks.
* refactor: reuse PostMeta components on single articles/pagesArmand Philippot2022-01-061-10/+15
|
* refactor: move Prism hook from layout to article pageArmand Philippot2022-01-041-0/+17
| | | | | I will not use Prism elsewhere, so it makes more sense to call Prism only inside articles.
* chore: add a sharing componentArmand Philippot2021-12-211-0/+2
|
* chore: add a table of contentsArmand Philippot2021-12-211-0/+2
|
* chore: add a breadcrumb componentArmand Philippot2021-12-211-5/+4
|
* refactor: rewrite types and servicesArmand Philippot2021-12-201-5/+4
| | | | | | | I was repeating myself a lot in services. So I rewrited the different functions to improve readability and I extracted some formatting functions to put them in utils. I also rewrited/reorganized some types to keep consistent names.
* chore: create mutation to add a new comment on postsArmand Philippot2021-12-171-1/+1
|
* chore: add title and meta desc to postsArmand Philippot2021-12-171-19/+35
|
* chore: add a comment form to postsArmand Philippot2021-12-171-0/+3
|
* chore: add meta to single postsArmand Philippot2021-12-171-6/+15
|
* chore: display comments list on postsArmand Philippot2021-12-171-0/+6
|
* chore: create single post viewArmand Philippot2021-12-151-0/+58